@charset "utf-8";

html,
body,
#app {
    width: 100%;
    height: 100%;
    color: #1D2129;
}

html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img,
input {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-family: "MicrosoftYaHei";
}

ul,
li,
ol {
    list-style: none;
}

em,
i {
    font-style: normal;
}

b,
strong {
    font-weight: normal;
}

a,
u {
    text-decoration: none;
}

fieldset,
input,
img {
    border: 0;
}

input {
    outline: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

img {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 16px;
}

textarea {
    resize: none;
}

/* 让单行文本省略号显示 */
.one_txt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 让2行文本省略号显示 */
.two_txt {
    margin: 0 20px;
    font-size: 14px;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sidebarBox>div {
    &:hover {
        &::-webkit-scrollbar-thumb {
            background: rgba(155, 155, 155, 0.2) !important;
        }
    }
}

.app-main {
    &:hover {
        &::-webkit-scrollbar-thumb {
            background: rgba(155, 155, 155, 0.2) !important;
        }
    }

}

.app-main,
.sidebarBox {
    &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 5px rgba(51, 51, 51, 0);
        background: hsla(0, 0%, 34%, 0);
        transition: .3s all;
    }

    &::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
        border-radius: 0;
        background: rgba(0, 0, 0, 0);
    }

    &::-webkit-scrollbar {
        width: 6px;
    }
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(51, 51, 51, .2);
    background: hsla(0, 0%, 34%, 0);
    transition: .3s all;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
    border-radius: 0;
    background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar {
    width: 6px;
}

.el-dialog__header {
    padding: 20px 20px 18px !important;
    // border-bottom: 1px solid #E5E6EB;
    margin-right: 0 !important;
}

.el-dialog__title {
    font-size: 16px;
    font-weight: bold;
}
.w-e-text-container {
    z-index: 100 !important;
}
.el-dialog__body {
    padding-top: 4px !important;
}

.el-dialog__footer {
    border-top: 1px solid #F2F3F5;
}

.el-tabs__nav .is-top {
    line-height: 22px;
    font-size: 16px;
    font-family: PingFangSC-Medium, PingFang SC;
    color: #86909C;
    font-weight: 500;

    
}
.el-tabs__nav .is-active {
    color: #1D2129 !important;
}
.subTable {
    &.sz-table tr th:first-of-type {
        border-radius: 0;
    }
    &.sz-table tr th:last-of-type {
        border-radius: 0 !important;
    }
    &.sz-table .el-table th.el-table__cell {
        height: 40px !important;
        background-color: rgba(12,45,111,0.05) !important
    }
    .sz-table {
        border: 1px solid #E2E3E6;
        border-radius: 5px;
        padding: 0 !important;
        .sz-table {
        }
    }
    .table_card {
        padding: 0 !important;
    }
}
.el-collapse {
padding: 0 20px 0;
background: #fff;
border: 1px solid rgba(43, 45, 55, 0.1);
overflow: hidden;
border-radius: 12px;
.el-collapse,
.el-collapse-item__wrap {
    border: 0px;
}
.el-collapse-item__header {
    height: max-content;
    font-size: 14px;
    font-weight: bold;
    color: var(--el-color-primary);
    line-height: 1;
    padding: 14px 0 14px;
    border-bottom: 0px;
    border-top: 0px;
}
.el-collapse-item__content {
    padding-bottom: 6px;
}
}

@font-face{
    font-family: Alternate;
    src: url("../assets/font/DIN Alternate Bold.ttf");
}